package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.Strategy;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.StrategyQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IStrategyService {
    int deleteByPrimaryKey(Long id);


    Strategy selectByPrimaryKey(Long id);

    List<Strategy> selectAll();

    void saveOrUpdate(Strategy strategy);

    PageInfo getList(QueryObject qo);

    void saveWish(Long id,Integer state);

    List<Strategy> selectWish(int state);

    List<Strategy> selectByKeyword(QueryObject qo);
}
